package com.spzx.cart.service;

import com.spzx.product.api.domain.CartItem;

import java.util.List;

public interface CartService {
    boolean add2Cart(Long skuId, Integer skuNum);

    List<CartItem> cartList();

    boolean deleteCart(Long skuId);

    boolean checkCart(Long skuId, Integer status);

    boolean allCheckCart(Integer status);

    boolean clearCart();

    List<CartItem> getCheckedCartItems();

    Boolean delCheckedCartItems();
    Boolean delCheckedCartItems(Long userId);
}
